<?php


namespace app\admin\controller;


class Test{

    public function getConfig(){
        $config = rkcache('config', true);
        dump($config);
    }

    public function index(){
        $times = 90086;

        // ‬‬950400‬
        echo $d = bcdiv($times,86400,0);
        echo "天<br>";

        // 25200
        echo $h = bcdiv($times%86400,3600,0);
        echo "时<br>";

        // 1140
        echo $i = bcdiv($times%3600,60,0);
        echo "分<br>";

        // 51
        echo $s = $times%60;
        echo "秒<br>";

    }

}